//
//  SIXHeadViewCell.m
//  weibo
//
//  Created by YaRi on 16/5/20.
//  Copyright © 2016年 chuhan. All rights reserved.
//

#import "SIXHeadViewCell.h"
#import "SIXMeModels.h"
#import "UIImageView+WebCache.h"

//#import "SIXAccount.h"
//#import "SIXAccountTool.h"

@interface SIXHeadViewCell ()
@end

@implementation SIXHeadViewCell

- (void)setModels:(SIXMeModels *)models{
    _models = models;
    
    self.userIntr.text = models.userIntr;
    self.userName.text = models.userName;
    self.weiboCount.text = models.weiboCount;
    self.focusCount.text = models.focusCount;
    self.fansCount.text = models.fansCount;
    NSURL *url = [NSURL URLWithString:models.userIcon];
    [self.userIcon sd_setImageWithURL:url];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tap)];
    [self.userIcon addGestureRecognizer:tap];
    
}
- (void)tap{
    SIXLog(@"userinfoxxxx");
    [SIXNoteCenter postNotificationName:@"UserInfo" object:nil];
}






//- (void)awakeFromNib {
//    // Initialization code
//}
//
//- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
//    [super setSelected:selected animated:animated];
//
//    // Configure the view for the selected state
//}

@end
